From 89fcb252a13f428994f6bbcf2c358a7bae90f748 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 27 Nov 2008 11:21:19 +0000 Subject: [PATCH] shadow: set fast_emul to zero when emulating to an out-of-sync page. A small missing thing on the original out of sync patch. No real bug, but it's better to correctly specify the path. Signed-off-by: Gianluca Guida --- xen/arch/x86/mm/shadow/multi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/mm/shadow/multi.c b/xen/arch/x86/mm/shadow/multi.c index 2f2e3bf29d..da74d41d84 100644 --- a/xen/arch/x86/mm/shadow/multi.c +++ b/xen/arch/x86/mm/shadow/multi.c @@ -2924,6 +2924,7 @@ static int sh_page_fault(struct vcpu *v, writes to an out of sync page. */ if ( mfn_valid(gmfn) && mfn_is_out_of_sync(gmfn) ) { + fast_emul = 0; v->arch.paging.last_write_emul_ok = 0; goto page_fault_slow_path; } -- 2.30.2